package com.ld.admin.util.daliyImage;

import com.ld.admin.util.daliyImage.impl.DaliyImageBing;
import com.ld.shieldsb.common.core.ServiceFactory;

public class DaliyImageFactory extends ServiceFactory<DaliyImage> {

    static {
        // 注意工厂类不要一开始就注册对象，否则可能缺少必要的jar包不能实例化报错，应该注册类
        getInstance().registerServiceClass(DaliyImageBing.NAME, DaliyImageBing.class); // Bing
    }

    public static ServiceFactory<DaliyImage> getInstance() {
        return getInstance(DaliyImageFactory.class);
    }

}
